<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./lib/fontawesome/css/font-awesome.css">
  <link rel="stylesheet" href="./lib/mui/css/mui.css">
  <link rel="stylesheet" href="./css/YSY_common.css">
  <link rel="stylesheet" href="./css/YSY_index.css">

</head>

<body>

  <div class="layout">

<!-- 头部 -->
    @@include('YSY_header.html')
    <!-- 搜索框 -->
    @@include('YSY_search.html')

    <!-- 菜单栏 -->
    <div class="ysy_menu">
      <div class="menu_li">
        <ul>
          <!-- <li>
            <a href="javascript:;" class='menu_search'>
              <img src="http://www.ak48.xyz:9090/images/ic_search.png" alt="">
              <p>比价搜索</p>
            </a>
          </li> -->
        
        </ul>
      </div>
    </div>


    <!-- 推荐-->
    <div class="ysy_recommond">
     @@include('YSY_recommon_title.html',{"titlename":"超值折扣推荐"})

      <div class="recommond_list">
      </div>

      <div class="recommond_more">
        <!-- -----------------------------------------------------------------------跳转到省钱控页面 -->
          <a href="javascript:;">更多优惠信息>></a>
      </div>

    @@include('YSY_recommon_title.html',{"titlename":"品牌排行榜"})
    </div>


    <!-- 底部 -------------------------------------都是要补链接的-->
  
      @@include('YSY_footer.html')


  </div>















<body>


</html>
<script src='./lib/arttemplate/template-web.js'></script>
<script src='./lib/iscroll/iscroll.js'></script>
<script src='./lib/zepto/zepto.js'></script>
<script src='./lib/mui/js/mui.js'></script>
<script src='./js/YSY_index.js'></script>
<!-- 菜单栏的渲染 -->
<!-- <script type='text/html' id='YSY_menu'> -->
  <!-- {{each data value index}} -->
  <!-- <li> -->
    <!-- ------------------------------------------------------------这里要传递id值还要拼接网址{{value.indexmenuId}} -->
      <!-- <a href="javascript:;" class='menu_search'> -->
        <!-- <img src="http://www.ak48.xyz:9090/{{value.img}}" alt="{{value.name}}"> -->
        <!-- <p>{{value.name}}</p> -->
      <!-- </a> -->
    <!-- </li> -->
  <!-- {{/each}} -->
<!-- </script> -->

<!-- 推荐详情的渲染 -->
<script type='text/html' id='YSY_recommond'>
{{each data value index}}
<!-- 这个时候的data数据 都是字符串 要存储的话 就直接说------------------------------------------------ -->
  <div class="recommond_list_all" data-allData='{{value}}'>
      <!-- 左边右边的链接都是跳到详情的 我也不知道为什么不整个都用一个a 可能是开心吧hhhhhhhhh -->
    <div class="recommond_list_left">
      <!-- --------------------------------------------------------------后面后跳详情的页面{{value.productId}} -->
        <a href="YSY_veryDiscount.html?productid={{value.productId}}" class='leftPic'>
         {{#value.productImg2}}
        </a>
      </div>
    
      <div class="recommond_list_right">
        <a href="YSY_veryDiscount.html?productid={{value.productId}}" class='rightContent'>
          <h5>{{value.productName}}</h5>
          <div class='recommond_price'>10 </div>
          <span>{{value.productTime}}</span><span class='recommond_comment'>{{value.productComCount}}</span>
        </a>
      </div>
   </div>
{{/each}}
</script>
